<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            height: 100px;
            width: 100px;
            background-color: #fac;
            transform: rotate(45deg) translateX(100px);
        }

    </style>
</head>
<body>
    <div>
你好
    </div>
</body>
</html>